home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network CD 1
/
Network CD.iso
/
tbag
/
1-10
/
tb8
/
doc-files
/
more.doc
< prev
next >
Wrap
Text File
|
1986-09-11
|
2KB
|
48 lines
MORE Version 1.1
More() is an Amiga version of the Unix utility of the same name
inspired by Rich Wirch,s artical in Amazing Computing Vol1/Num2.
It is a very simple, relatively small ( <5 KB ), and (I think)
extremely useful text file viewer. It is a handy thing to have on
your RAM: disk.
I have converted Rich's original program to Manx, reorganized it,
squashed a few minor bugs and added some features, including three
new commands:
Commands:
<SP> Scroll forward a full window.
D Scroll forward 1/2 window.
<RTN> Scroll forward one line.
T Return to the top of the file.
B Scroll backwards one window.
<ESC> Close file & return to CLI/WorkBench
More() is WorkBench compatible. You can either make icons for your
text files that have their default tools set to more or, use
"extended selection". Of course, it can also be invoked from CLI by
"more <filename>". The front end that converts a WB invocation into
something a CLI program can understand is Rich's creation.
More() behaves reasonably well when the window is resized, thanks
to Scott Ballantyne, who straightened me out on WINDOW STATUS
REQUEST, which is incorrectly documented in the RKM.
The program doesn't generate any error messages. If the program
exits immediately, the most likely reason is that the text file
specified doesn't exist.
Finally, the program examines the input data and gives you a chance
to bail out, if you've accidently fed it a file with binary data.
KNOWN BUGS:
If a viewed file has a bunch of binary charactors at the end, more()
occationally locks up. This has only happened to me once in months of
heavy use.
Drew Lucy (CIS 76337,75)